/*
 * Nutritionist.java
 * Team qq 2011
 */
package com.google.code.timetrail.backend;

/**
 * Nutritionists start with half the money of most other people, but
 * significantly reduce food usage on the trail
 * @author Anuraag
 * @version 1.0
 *
 */
public class Nutritionist extends Person {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4040L;
	/** The money penalty for being a nutritionist*/
	private static final int MONEY_PENALTY = 400;

	/**
	 * Removes the money penalty from the inventory provided
	 * @param inv the provided inventory
	 */
	public void initialBonus(Inventory inv){
		super.initialBonus(inv);
		inv.removeItem(MONEY_PENALTY, inv.getMoney());
	}
	
	/**
	 * toString method for Nutritionist
	 * @return nutritionist in string form
	 */
	public String toString(){
		return super.toString() + " is a Nutritionalist";
	}
}
